import { request } from './request'

// 微信授权登录
const wxLogin = (params) => {
  return request('/weChat/wx/login', params, 'POST')
}

// 获取验证码
const getCode = (params) => {
  return request('/Login/Sms', params, 'GET')
}

// 手机号登录
const login = (params) => {
  return request('/Login/login', params, 'GET')
}

export {
  wxLogin,
  getCode,
  login
}

